<?php

class Application_Model_DbTable_Settings extends Zend_Db_Table_Abstract
{

    protected $_name = 'Settings';
    public function getSetting($param){
        $settings = $this->fetchAll();
        foreach($settings as $setting):
        if($setting['param']==$param){

            return $setting['value'];
        }
            endforeach;
    }

}

